package Month07.day21;

public class DiGui {
    public static void main(String[] args) {
        int result=getSum(7);
        System.out.println(result);
    }
    public static int getSum(int i){
        if (i==1||i==2){
            return 1;
        }else {
            return  getSum(i-1)+getSum(i-2);
        }
    }
}
